<template>
  <div class="">
    <span class="color_red">子应用的组件</span>
    <HeadCom :list="list"></HeadCom>
  </div>
</template>

<script>
import { defineAsyncComponent,ref,defineComponent } from 'vue';
// import { addFn } from "microFrontendHost/microFrontendHostUtil"
const HeadCom = defineAsyncComponent(() => import("microFrontendHost/Head"))
// addFn(2,3)
export default defineComponent({
  components: {
    HeadCom
  },
  setup(props,{emit}) {
    const list = ref([
      {
        name: "张三"
      },
      {
        name: "李四"
      }
    ])
    return {  
      list
    }
  }
})
</script>
<style scoped>

</style>